package com.tedu.entity;

import jdk.jfr.Percentage;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;


import java.util.Date;

// 提供get set ..
// 函数重载 函数名相同 参数不同
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class Emp {
    private Integer id;
    private String name;
    private Double salary;
    private Date birthday;
    private Integer age;
    private Integer deptId;//dept_id
}
